import { lazy } from 'react';

const User = lazy(() => import('@/pages/system/user'));
const Role = lazy(() => import('@/pages/system/role'));
const Menu = lazy(() => import('@/pages/system/menu'));
const AddMenu = lazy(() => import('@/pages/system/menu/operate'));
const UpdateMenu = lazy(() => import('@/pages/system/menu/operate'));
const MenuDetail = lazy(() => import('@/pages/system/menu/detail'));

const system = {
  SYSTEM_USER: User,
  SYSTEM_ROLE: Role,
  SYSTEM_MENU: Menu,
  SYSTEM_MENU_ADD: AddMenu,
  SYSTEM_MENU_UPDATE: UpdateMenu,
  SYSTEM_MENU_DETAIL: MenuDetail,
};

export default system;
